#include <iostream>



/**
 * 
 * 四位数中有偶数吗
 * 
 */
using namespace std;
int main() {
    int a;
    cin >> a;
    if (a % 10 % 2 == 0 || a / 10 % 10 % 2 == 0 
        || a / 100 % 10 % 2 == 0 || a / 1000 % 2 == 0) {
        cout << "YES";
    } else {
        cout << "NO";
    }
}
